/**
 *
 */
moduleResource.factory("DashboardResource", function (CambioResource, $$CambioConfig) {

    const resource = $$CambioConfig.SZ_MANAGEMENT_SYSTEM_RESOURCE_URL + "/dashboard";
    return CambioResource(resource, {}, {
        load: {
            url: resource + "/info/:organizationClientId",
            method: 'GET'
        },
        pvReport: {
            url: resource + "/pvReport/:type/:startTime/:endTime/:organizationClientId",
            method: 'GET'
        },
        chatUserTotalPvTotal: {
            url: resource + "/chatUserTotalPvTotal/:type/:startTime/:endTime/:organizationClientId",
            method: 'GET'
        },
        learningMapReport: {
            url: resource + "/learningMapReport/:learningMapId/:organizationClientId",
            method: 'POST'
        }
    });
});